package com.bcinfo.iccard.model;

public class EndComboCardEarningsToMerchantDetail extends AbstractExcelable
{
    private Long    endCombocardEarningsDetailId;

    private Long    comboCardEarningsSumId;

    private String  merchantName;

    private String  productNames;

    private String  comboCardName;

    private Integer comboCardTotalCopies;

    private float   productOrignalPrice;

    private float   productFavorablePrice;

    private float   productSalePrice;

    private Integer combcardExpenseCopies;

    private float   expenseTotalAmount;

    private float   comboCardSettlementAmount;

    private float   comboCardWaitAmountSum;

    private float   comboCardRealAmount;

    private float   expectedAmountSum;

    public EndComboCardEarningsToMerchantDetail()
    {
        alias.put("商家名称", "merchantName");
        alias.put("涉及商品", "productNames");
        alias.put("实际提取份数", "combcardExpenseCopies");
        alias.put("原价格", "productOrignalPrice");
        alias.put("优惠价格", "productFavorablePrice");
        alias.put("销售价格", "productSalePrice");
        alias.put("销售额", "expenseTotalAmount");
        alias.put("应付额", "payableAmount");
        alias.put("结算额", "comboCardSettlementAmount");
        alias.put("实际收益额", "comboCardRealAmount");
        alias.put("待结算额", "comboCardWaitAmountSum");
    }

    public Long getEndCombocardEarningsDetailId()
    {
        return endCombocardEarningsDetailId;
    }

    public void setEndCombocardEarningsDetailId(Long endCombocardEarningsDetailId)
    {
        this.endCombocardEarningsDetailId = endCombocardEarningsDetailId;
    }

    public Long getComboCardEarningsSumId()
    {
        return comboCardEarningsSumId;
    }

    public void setComboCardEarningsSumId(Long comboCardEarningsSumId)
    {
        this.comboCardEarningsSumId = comboCardEarningsSumId;
    }

    public String getMerchantName()
    {
        return merchantName;
    }

    public void setMerchantName(String merchantName)
    {
        this.merchantName = merchantName == null ? null : merchantName.trim();
    }

    public String getProductNames()
    {
        return productNames;
    }

    public void setProductNames(String productNames)
    {
        this.productNames = productNames == null ? null : productNames.trim();
    }

    public String getComboCardName()
    {
        return comboCardName;
    }

    public void setComboCardName(String comboCardName)
    {
        this.comboCardName = comboCardName == null ? null : comboCardName.trim();
    }

    public Integer getComboCardTotalCopies()
    {
        return comboCardTotalCopies;
    }

    public void setComboCardTotalCopies(Integer comboCardTotalCopies)
    {
        this.comboCardTotalCopies = comboCardTotalCopies;
    }

    public float getProductOrignalPrice()
    {
        return productOrignalPrice;
    }

    public void setProductOrignalPrice(float productOrignalPrice)
    {
        this.productOrignalPrice = productOrignalPrice;
    }

    public float getProductFavorablePrice()
    {
        return productFavorablePrice;
    }

    public void setProductFavorablePrice(float productFavorablePrice)
    {
        this.productFavorablePrice = productFavorablePrice;
    }

    public float getProductSalePrice()
    {
        return productSalePrice;
    }

    public void setProductSalePrice(float productSalePrice)
    {
        this.productSalePrice = productSalePrice;
    }

    public Integer getCombcardExpenseCopies()
    {
        return combcardExpenseCopies;
    }

    public void setCombcardExpenseCopies(Integer combcardExpenseCopies)
    {
        this.combcardExpenseCopies = combcardExpenseCopies;
    }

    public float getExpenseTotalAmount()
    {
        return expenseTotalAmount;
    }

    public void setExpenseTotalAmount(float expenseTotalAmount)
    {
        this.expenseTotalAmount = expenseTotalAmount;
    }

    public float getComboCardSettlementAmount()
    {
        return comboCardSettlementAmount;
    }

    public void setComboCardSettlementAmount(float comboCardSettlementAmount)
    {
        this.comboCardSettlementAmount = comboCardSettlementAmount;
    }

    public float getComboCardWaitAmountSum()
    {
        return comboCardWaitAmountSum;
    }

    public void setComboCardWaitAmountSum(float comboCardWaitAmountSum)
    {
        this.comboCardWaitAmountSum = comboCardWaitAmountSum;
    }

    public float getComboCardRealAmount()
    {
        return comboCardRealAmount;
    }

    public void setComboCardRealAmount(float comboCardRealAmount)
    {
        this.comboCardRealAmount = comboCardRealAmount;
    }

    // 应付额
    public float getPayableAmount()
    {
        return productFavorablePrice * combcardExpenseCopies;
    }

    // 预期收益额=（销售价格-优惠价格）*实际提取份数
    public float getExpectedAmount()
    {
        return (productSalePrice - productFavorablePrice) * combcardExpenseCopies;
    }

    /**
     * @return the expectedAmountSum
     */
    public float getExpectedAmountSum()
    {
        return expectedAmountSum;
    }

    /**
     * @param expectedAmountSum
     *            the expectedAmountSum to set
     */
    public void setExpectedAmountSum(float expectedAmountSum)
    {
        this.expectedAmountSum = expectedAmountSum;
    }

}